import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    init: false,
    defaultActive: "1"
  },
  mutations: {
    init () {
      this.state.init = true
    },
    outit () {
      this.state.init = false
    },
    defaultActiveChange (state, value) {
      state.defaultActive = value
    }
  },
  actions: {

  },
  modules: {
  }
})
